﻿using System;
using System.Collections.Generic;
using System.Web;
using WxPayAPI.lib;

namespace WxPayAPI
{
    /**
    * 	配置账号信息
    */

    public class WxPayGZHConfig
    {

        private static volatile IWePayConfig config;
        private static object syncRoot = new object();

        public static IWePayConfig GetConfig()
        {
            if (config == null)
            {
                lock (syncRoot)
                {
                    if (config == null)
                        config = new WeGzhPayConfig();
                }
            }
            return config;
        }

    }
}